/*
 * @Author: weikang
 * @Description:
 * @Date: 2024-01-21 15:05:45
 * @LastEditTime: 2024-06-11 22:57:37
 * @FilePath: \env-manager-pc\src\api\modules\types\data.query.ts
 */
import type { FilterObjItem } from '@/utils/dataHook/data'

export interface PolluteErrRow {
  OwnerOrgObjID: string
  OwnerOrgName: string
  EnvOrgObjID: string
  EnvOrgName: string
  EntObjID: string
  EntName: string
  ProduceObjID: string
  ProduceName: string
  ReuseObjID: string
  ReuseName: string
  ReusePartObjID: string
  ReusePartName: string
  StartTime: string
  EndTime: string
}

export interface TimeFilter {
  startTime: string | null
  endTime: string | null
  filters: FilterObjItem[]
}

export interface QueryDataTime extends TimeFilter {
  pageSize: number
  pageNum: number
}

export interface PowerSupplyStatRow {
  OwnerOrgObjID: string
  OwnerOrgName: string
  EnvOrgObjID: string
  EnvOrgName: string
  EntObjID: string
  EntName: string
  DeviceObjID: string
  DeviceName: string
  DeviceAsset: string
  Count: string
  Duration: string
}

export enum DeclareState {
  Declaring = 0,
  DeclareFail = 1,
  Inspecting = 4,
  Completed = 5,
}
